function toggleMoreOpts(id,show)
{
	if (show)
	{
		document.getElementById('showMoreOpts'+id).style.display = 'none';
		document.getElementById('showLessOpts'+id).style.display = '';
	}
	else
	{
		document.getElementById('showLessOpts'+id).style.display = 'none';
		document.getElementById('showMoreOpts'+id).style.display = '';
	}

	var rows = document.getElementById('lTable'+id).getElementsByTagName('TBODY').item(0).getElementsByTagName('TD');
	for (var i=0; i < rows.length; i++)
	{
		if (rows[i].className == 'moreOpts')
		{
			if (show)
			rows[i].style.display = '';
			else
			rows[i].style.display = 'none';
		}
	}
	alert("</xsl:text><xsl:value-of select=/><xsl:text>");
	return false;
}